package com.ht.web360.base.feignApi;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * 图片对象存储接口
 */
public interface Oss {
    String upload(MultipartFile file);
    String upload(byte[] data);
    InputStream download(String md5);
    void delete(String md5);
}
